package com.ruoyi.logistic.service.impl;

import com.github.pagehelper.PageHelper;
import com.ruoyi.hqfinance.mapper.HqTransferCentreMapper;
import com.ruoyi.logistic.domain.NetworkWeightDifference;
import com.ruoyi.logistic.domain.PageInfo;
import com.ruoyi.logistic.domain.vo.NetworkWeightDifferenceVo;
import com.ruoyi.logistic.enums.SettleTypeEnum;
import com.ruoyi.logistic.enums.SettleWeightSourceEnum;
import com.ruoyi.logistic.mapper.NetworkNameMapper;
import com.ruoyi.logistic.mapper.NetworkWeightDifferenceMapper;
import com.ruoyi.logistic.service.NetworkWeightDifferenceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class NetworkWeightDifferenceServiceImpl implements NetworkWeightDifferenceService {
    @Autowired
    private NetworkWeightDifferenceMapper networkWeightDifferenceMapper;

    @Override
    public List<NetworkWeightDifference> selectList(NetworkWeightDifferenceVo networkWeightDifferenceVo) {
        //添加分页查询
        PageHelper.startPage(networkWeightDifferenceVo.getPageDate());
        return networkWeightDifferenceMapper.selectList(networkWeightDifferenceVo);
    }
}
